#ifndef CLIENT_H
#define CLIENT_H

#include <iostream>
#include "my_thread_class.h"
#include "random_generator.h"
#include "bank.h"

using namespace std;

class Client : public My_Thread_Class {
	public:
		Client ();
		Client (int [], int, int);
		~Client ();

		void set_thread_number (int);
		void set_rand (Random_Generator *);
		void set_bank (Bank *);

	protected:
		void thread_method ();

	private:
		Bank * bank;
		int * accounts;
		int num_transactions;
		int num_accounts;
		int thread_num;
		Random_Generator * rand;

};

#endif
